package com.mobile.check.events;

import cn.droidlover.xdroidmvp.event.IBus;

public class ReceiveDataEvent implements IBus.IEvent {
    @Override
    public int getTag() {
        return 0;
    }
    float maxValue;
    float receiveValue;

    public ReceiveDataEvent(float maxValue, float receiveValue) {
        this.maxValue = maxValue;
        this.receiveValue = receiveValue;
    }

    @Override
    public String toString() {
        return "ReceiveDataEvent{" +
                "maxValue=" + maxValue +
                ", receiveValue=" + receiveValue +
                '}';
    }

    public float getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(float maxValue) {
        this.maxValue = maxValue;
    }

    public float getReceiveValue() {
        return receiveValue;
    }

    public void setReceiveValue(float receiveValue) {
        this.receiveValue = receiveValue;
    }
}
